main {
    display: flex;
    justify-content: center;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: var(--max-width);
}

.games {
    width: 100%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.games-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    height: 60px;
    margin: 0 auto;
    border-bottom: 1px solid #eeeeee;
}

.games-title span {
    font-size: 16px;
    font-weight: bold;
    margin-left: 8px;
    padding-top: 2px;
}

.games-content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 10px 40px;
    padding: 10px 60px;
}

.games-wrapper {
    cursor: pointer;
    width: 100%;
}

.games-wrapper-logo {
    position: relative;
    padding-bottom: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.games-wrapper-logo_icon {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 200ms ease-in-out;
}

@media screen and (min-width: 768px) {
    .games-wrapper:hover .games-wrapper-logo_icon {
        transform: scale(1.2);
    }

    .games-wrapper:hover .games-wrapper-name {
        color: var(--main-color);
    }
}

.games-wrapper-name {
    display: block;
    width: 138px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 35px;
    color: #1d1d1f;
    margin: 0 auto;
    text-align: center;
}

@media screen and (max-width: 1330px) {
    .games-content {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .games-content {
        grid-template-columns: repeat(4, 1fr);
        padding: 2vmin;
    }
}

@media screen and (max-width: 768px) {
    .games-content {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 2vmin;
        padding: 2vmin;
    }
}

@media screen and (max-width: 480px) {
    .games-content {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2vmin;
        padding: 2vmin;
    }
}

@media screen and (max-width: 340px) {
    .games-content {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 2vmin;
        padding: 2vmin;
    }
}